import request from '@/utils/request'

// 查询店铺配置信息列表
export function listRoomConf(query) {
  return request({
    url: '/qipairoom/RoomConf/list',
    method: 'get',
    params: query
  })
}

// 查询店铺配置信息详细
export function getRoomConf(id) {
  return request({
    url: '/qipairoom/RoomConf/' + id,
    method: 'get'
  })
}

// 新增店铺配置信息
export function addRoomConf(data) {
  return request({
    url: '/qipairoom/RoomConf',
    method: 'post',
    data: data
  })
}

// 修改店铺配置信息
export function updateRoomConf(data) {
  return request({
    url: '/qipairoom/RoomConf',
    method: 'put',
    data: data
  })
}

// 删除店铺配置信息
export function delRoomConf(id) {
  return request({
    url: '/qipairoom/RoomConf/' + id,
    method: 'delete'
  })
}
